package com.example.routeplansystem.utils.taskCommit;


public class TaskUncatchedExceptionHandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        e.printStackTrace();
        throw new RuntimeException("算法或距离执行错误");
    }

}
